/* App.vue 中的全局样式 */
/* 1. 全局页面基础样式 */
page {
  background-color: #f6f6f6;
  font-size: 28rpx;
  color: #333;
  font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
}
/* 2. 清除默认样式 */
view,
text,
input,
button,
textarea,
label,
navigator,
image {
  box-sizing: border-box;
}

/* 3. 通用布局 */
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.flex-column {
  display: flex;
  flex-direction: column;
  gap: 30rpx;
}

/* 4. 文字排版 */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-bold {
  font-weight: bold;
}
.text-gray {
  color: #999;
}
.text-primary {
  color: #007aff;
}

/* 5. 按钮样式 */
.btn {
  display: inline-block;
  padding: 20rpx 40rpx;
  background-color: #007aff;
  color: #fff;
  border-radius: 8rpx;
  text-align: center;
  font-size: 28rpx;
}
.btn[disabled] {
  background-color: #ccc;
  color: #999;
}

/* 6. 表单样式 */
.input {
  width: 100%;
  padding: 20rpx;
  border: 1rpx solid #ddd;
  border-radius: 8rpx;
  font-size: 28rpx;
}

/* 7. 边距类 */
.mt-10 {
  margin-top: 10rpx;
}
.mt-20 {
  margin-top: 20rpx;
}
.mb-10 {
  margin-bottom: 10rpx;
}
.mb-20 {
  margin-bottom: 20rpx;
}
.ml-10 {
  margin-left: 10rpx;
}
.mr-10 {
  margin-right: 10rpx;
}
.p-20 {
  padding: 20rpx;
}
.pt-20 {
  padding-top: 20rpx;
}
.pb-20 {
  padding-bottom: 20rpx;
}

/* 8. 圆角 */
.radius-8 {
  border-radius: 12rpx;
}
.radius-circle {
  border-radius: 50%;
}

/* 9. 阴影 */
.shadow {
  box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.2);
}

/* 10. 内容 */
.content {
  width: 100vw;
  padding: 30rpx;
  background-color: #fff;
}
/* 测试 */
.custom-text {
  color: red;
  font-weight: bold;
  font-size: 100rpx;
}
.common-text {
  width: auto;
  white-space: nowrap;
  font-size: 30rpx;
}
.common-detail {
  width: 25%;
  text-align: right;
}
